package lab02.test07;

public class Test07 {
    public static void main(String[] args) {
        Person zhang = new Person();
        System.out.println("测试person类.");
        zhang.setInformation("李某",25,"5100322261611");
        System.out.println(zhang);

        System.out.println();
        System.out.println("测试学生类：");
        Student wang = new Student();
        wang.setInformation("张某",10,"12354464");
        wang.setStudyInformation("15566464","1111");
        System.out.println(wang);
    }
}
